/**
 *
 * @package Maupassant
 * @author cho
 * @version 2.0
 * @link http://chopstack.com
 */

/*
pure css setting
When setting the primary font stack, apply it to the Pure grid units along
with `html`, `button`, `input`, `select`, and `textarea`. Pure Grids use
specific font stacks to ensure the greatest OS/browser compatibility.
*/

body {
  background-color: #fff;
  color: #444;
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Microsoft YaHei',
    'Source Han Sans SC', 'Noto Sans CJK SC', 'WenQuanYi Micro Hei', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 14px;
}
img {
  border: none;
}
.body_container {
  padding: 0 60px;
  max-width: 1150px;
  margin: 0 auto;
}
.content_container {
  padding-right: 50px;
  padding-top: 20px;
}
a,
button.submit {
  color: #6e7173;
  text-decoration: none;
  transition: all 0.1s ease-in;
}
a:hover,
a:active {
  color: #444;
}
a:focus {
  outline: auto;
}
.clear {
  clear: both;
}
div {
  box-sizing: border-box;
}
.clearfix:after {
  content: '';
  display: block;
  overflow: hidden;
  height: 0;
  clear: both;
}
#header {
  padding: 58px 0 0;
  text-align: left;
  border-bottom: 1px solid #ddd;
  position: relative;
  .site-name {
    margin-bottom: 40px;
    h1 {
      padding: 0;
      margin: 0;
      height: 0;
      overflow: hidden;
    }
    #logo {
      font: bold 38px/1.12 'Times New Roman', Georgia, Times, sans-serif;
      color: #555;
      span,
      &:hover {
        color: #777;
      }
    }
    .description {
      margin: 0.2em 0 0;
      color: #999;
    }
  }
  #nav-menu {
    margin: 10px 0 -1px;
    padding: 0;
    position: absolute;
    right: 0;
    bottom: 0;
    a {
      display: inline-block;
      padding: 3px 20px 3px;
      line-height: 30px;
      color: #444;
      font-size: 13px;
      border: 1px solid transparent;
      &:hover {
        border-bottom-color: #444;
      }
      &.current {
        border: 1px solid #ddd;
        border-bottom-color: #fff;
      }
    }
  }
}

#sidebar {
  border-left: 1px solid #ddd;
  padding-left: 35px;
  margin-top: 40px;
  padding-bottom: 20px;
  word-wrap: break-word;
  .widget {
    margin-bottom: 30px;
    .widget-title {
      color: #6e7173;
      line-height: 2.7;
      margin-top: 0;
      font-size: 16px;
      border-bottom: 1px solid #ddd;
      display: block;
      font-weight: normal;
    }
    .comments-title {
      color: #6e7173;
      line-height: 2.7;
      margin-top: 0;
      font-size: 16px;
      border-bottom: 0px solid #ddd;
      display: block;
      font-weight: normal;
    }
    .tagcloud {
      margin-top: 10px;
      a {
        line-height: 1.5;
        padding: 5px;
      }
    }
    ul {
      list-style: none;
      padding: 0;
      li {
        margin: 5px 0;
        line-height: 1.5;
      }
    }
    .category-list-count {
      padding-left: 5px;
      color: #6e7173;
    }
    .category-list-count::before {
      content: '(';
    }
    .category-list-count::after {
      content: ')';
    }
    .search-form {
      position: relative;
      overflow: hidden;
      input {
        background: #fff 8px 8px no-repeat
          url(%2BR8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAG11AABzoAAA%2FN0AAINkAABw6AAA7GgAADA%2BAAAQkOTsmeoAAAESSURBVHjajNCxS9VRGMbxz71E4OwgoXPQxVEpXCI47%2BZqGP0LCoJO7UVD3QZzb3SwcHB7F3Uw3Zpd%2FAPCcJKG7Dj4u%2FK7Pwp94HDg5Xyf5z1Pr9YKImKANTzFXxzjU2ae6qhXaxURr%2FAFl9hHDy%2FwEK8z89sYVEp5gh84wMvMvGiSJ%2FEV85jNzLMR1McqfmN5BEBmnmMJFSvtpH7jdJiZv7q7Z%2BZPfMdcF6rN%2FT%2F1m2LGBkd4HhFT3dcRMY2FpskxaLNpayciHrWAGeziD7b%2BVfkithuTk8bkGa4wgWFmbrSTZOYeBvjc%2BucQj%2FEe6xHx4Taq1nrnKaW8K6XUUsrHWuvNevdRRLzFGwzvDbXAB9cDAHvhedDruuxSAAAAAElFTkSuQmCC);
        padding: 7px 11px 7px 28px;
        line-height: 16px;
        border: 1px solid #bbb;
        width: 65%;
        border-radius: 5px;
        box-shadow: none;
      }
    }
  }
}

/* title for search result or tagged posts*/
.label-title {
  margin-top: 1.1em;
  font-size: 20px;
  font-weight: normal;
  color: #888;
}

.post {
  padding: 25px 0 15px;
  .post-title {
    margin: 0;
    color: #555;
    text-align: left;
    font: bold 25px/1.1 'ff-tisa-web-pro', Cambria, 'Times New Roman', Georgia, Times, sans-serif;
    a {
      color: #555;
    }
  }
  .post-meta {
    padding: 0;
    margin: 15px 0 0;
    color: #6e7173;
    text-indent: 0.15em;
    list-style-type: none;

    .meta-l {
      float: left;
    }
    .meta-r {
      float: right;
    }

    .time,
    .category,
    #busuanzi_container_page_pv,
    .disqus-comment-count,
    .ds-thread-count {
      margin-bottom: 4px;

      &:before {
        font-family: 'FontAwesome';
        display: inline-block;
        width: 24px;
      }
    }
    .time {
      &:before {
        content: '\f073';
      }
    }
    .category {
      &:before {
        content: '\f07c';
      }
    }
    #busuanzi_container_page_pv {
      display: list-item !important;

      &:before {
        content: '\f024';
      }
    }
    .disqus-comment-count,
    .ds-thread-count {
      color: #6e7173;
      &:before {
        content: '\f0e5';
      }
      &:hover {
        color: #444;
      }
    }
  }

  .post-content {
    clear: left;
    font-size: 15px;
    line-height: 1.77;
    color: #444;
    padding-top: 15px;
    text-justify: distribute;
    h2 {
      margin: 1.4em 0 1.1em;
      border-bottom: 1px solid #eee;
      overflow: hidden;
    }
    h3 {
      margin: 1.4em 0 1.1em;
    }
    pre code {
      padding: 0 2em;
    }
    p {
      margin: 0 0 1.234em;
      code {
        display: inline-block;
        margin: 0 5px;
        padding: 0 5px;
        background: #f9f2f4;
        color: #c7254e;
        border-radius: 4px;
      }
      a {
        color: #01579f;
        padding-bottom: 2px;
        word-break: break-all;
        text-decoration: underline;
        &:hover {
          color: #009dfc;
        }
      }
    }
    .caption {
      color: #444;
      display: block;
      font-size: 0.9em;
      margin-top: 0.1em;
      position: relative;
      text-align: center;
    }
    hr {
      margin: 2.4em auto;
      border: none;
      border-top: 1px solid #eee;
      position: relative;
    }
    img {
      max-width: 100%;
      padding: 0.5em 0;
      margin: auto;
      display: block;
    }
    ul,
    ol {
      border-radius: 3px;
      margin: 1em 0;
      ul {
        margin: 0;
      }
      code {
        display: inline-block;
        margin: 0 5px;
        padding: 0px 5px;
        color: #c7254e;
        border-radius: 4px;
        background: #f9f2f4;
      }
      a {
        color: #01579f;
        padding-bottom: 2px;
        word-break: break-all;
        text-decoration: underline;
        &:hover {
          color: #009dfc;
        }
      }
    }
  }
  .tags {
    padding-bottom: 1em;
    a {
      margin-right: 0.5em;
      &:before {
        font-family: 'FontAwesome';
        content: '\f0c6';
        padding-right: 0.3em;
      }
    }
  }
}

.page-navigator {
  border-top: 1px solid #ddd;
  list-style: none;
  margin-top: 25px;
  padding: 25px 0 0;
  font-size: 14px;
  text-align: center;
  .page-number {
    display: inline-block;
    margin: 0 5px 5px 0;
  }
  a,
  span {
    display: inline-block;
    height: 25px;
    line-height: 25px;
    padding: 5px 9px;
    border: 1px solid #ddd;
    text-align: center;
    &:hover {
      background: #f8f8f8;
      border-bottom-color: #d26911;
    }
    &.prev {
      float: left;
      &:before {
        font-family: 'FontAwesome';
        content: '\f100';
        padding-right: 0.3em;
      }
    }
    &.next {
      float: right;
      &:after {
        font-family: 'FontAwesome';
        content: '\f101';
        padding-left: 0.3em;
      }
    }
  }
  .current {
    background: #f8f8f8;
    border-bottom-color: #d26911;
  }
  .space {
    border: none;
    padding: 5px 5px;
  }
}

#footer {
  padding: 0.8em 0 3.6em;
  margin-top: 1em;
  line-height: 2.5;
  color: #6e7173;
  text-align: center;
  span {
    font-size: 0.9em;
  }
}

/* for archive page starts*/
.post-archive {
  font-size: 15px;
  line-height: 2;
  padding-bottom: 0.8em;
  h2 {
    margin: 0;
    font: bold 25px / 1.1 'ff-tisa-web-pro', Cambria, 'Times New Roman', Georgia, Times, sans-serif;
  }
  .date {
    padding-right: 0.7em;
  }
}
/* for archive page ends*/

/* middle*/
@media print, screen and (max-width: 48em) {
  .body_container {
    padding: 0 30px;
  }
  .content_container {
    padding-right: 15px;
  }
  .hidden_mid_and_down {
    display: none !important;
  }
  #sidebar {
    border-left-width: 0px;
  }
  #header {
    .site-name {
      margin-bottom: 20px;
      text-align: center;
    }
    #nav-menu {
      position: relative;
      text-align: center;
      a {
        padding: 0 15px;
        line-height: 27px;
        height: 27px;
        font-size: 13px;
      }
    }
  }
}

/* small*/
@media print, screen and (max-width: 35.5em) {
  .body_container {
    padding: 0 20px;
  }
  .content_container {
    padding-right: 0;
  }
}

blockquote,
.stressed {
  box-sizing: border-box;
  margin: 2.5em 0;
  padding: 0 0 0 50px;
  color: #555;
  border-left: none;
}
blockquote::before,
.stressed-quote::before {
  content: '\201C';
  display: block;
  font-family: times;
  font-style: normal;
  font-size: 48px;
  color: #444;
  font-weight: bold;
  line-height: 30px;
  margin-left: -50px;
  position: absolute;
}
strong,
b,
em {
  font-weight: bold;
}
pre {
  margin: 2em 0;
}
.hidden1 {
  display: none;
}

/* back-to-top rocket*/

#rocket {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: block;
  visibility: hidden;
  width: 26px;
  height: 48px;
  background: url('')
    no-repeat 50% 0;
  opacity: 0;
  transition: visibility 0.6s cubic-bezier(0.6, 0.04, 0.98, 0.335),
    opacity 0.6s cubic-bezier(0.6, 0.04, 0.98, 0.335),
    transform 0.6s cubic-bezier(0.6, 0.04, 0.98, 0.335);
  i {
    display: block;
    margin-top: 48px;
    height: 14px;
    background: url('')
      no-repeat 50% -48px;
    opacity: 0.5;
    transition: transform 0.2s;
    transform-origin: 50% 0;
  }
}
#rocket:hover {
  background-position: 50% -62px;
  i {
    background-position: 50% 100%;
    animation: flaming 0.7s infinite;
  }
}
#rocket.show {
  visibility: visible;
  opacity: 1;
}
#rocket.launch {
  background-position: 50% -62px;
  opacity: 0;
  transform: translateY(-500px);
  pointer-events: none;
  i {
    background-position: 50% 100%;
    transform: scale(1.4, 3.2);
  }
}

/* read more*/
.readmore a {
  font-size: 14px;
  color: #444;
  margin: -10px 0;
  padding: 5px 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  float: right;
  &:after {
    font-family: 'FontAwesome';
    content: '\f101';
    padding-left: 0.3em;
  }
  &:hover {
    background: #f8f8f8;
    border-bottom-color: #d26911;
  }
}

/* syntax highlight*/
figure.highlight,
.codeblock {
  background: #f7f8f8;
  margin: 10px 0;
  line-height: 1.1em;
  color: #333;
  padding-top: 15px;
  overflow: auto;

  table {
    display: block;
    width: 100%;
  }
  // Reset for tag `pre` and  for class `.gutter`, `.code`, `.tag`
  pre,
  .gutter,
  .code,
  .tag {
    background-color: inherit;
    font-family: Menlo, Consolas, monospace;
    border: none;
    padding: 0;
    margin: 0;
    // To override cursor attribute of `.tag` components
    cursor: text;
  }
  // To align line number and line of code regardless if there is a scroll bar or not
  .gutter,
  .code {
    vertical-align: top;
  }
  // hide gutter when code is plain text
  &.plain {
    .gutter {
      display: none;
    }
  }
  // Meta bar which contains name of the file and his link
  figcaption {
    font-size: 13px;
    padding: 0 15px 20px;
    margin: 0;
    background: #f7f8f8;
    color: #999999;

    a {
      float: right;
      color: #01579f;
    }
  }
  // Gutter which contains line numbers
  .gutter {
    background: #f7f8f8;
    border-right: 1px solid #e6e6e6;
    padding: 0.3em 15px;

    .line {
      color: #aaaaaa;
    }
  }
  // Code container
  .code {
    padding: 0.3em 15px 0.3em 1em;
    width: 100%;

    pre {
      max-width: 700px;
      overflow-x: auto;
      overflow-y: hidden;
    }
  }
  // All lines in gutter and code container
  .line {
    height: 1.3em;
    font-size: 13px;
  }
}

// Gist
.gist {
  .line,
  .line-number {
    font-family: Menlo, Consolas, monospace;
    font-size: 1em;
    margin: 0 0 5px 0;
  }
}

// Highlight code coloration
.highlight {
  // General
  .comment {
    color: #969896;
  }
  .string {
    color: #183691;
  }
  .keyword {
    color: #a71d5d;
  }
  // ApacheConf
  &.apacheconf .code {
    .common,
    .nomarkup,
    .attribute,
    .variable,
    .cbracket,
    .keyword {
      color: #0086b3;
    }
    .sqbracket {
      color: #df5000;
    }
    .section,
    .tag {
      color: #63a35c;
    }
  }
  // Bash
  &.bash .code {
    .shebang {
      color: #969896;
    }
    .literal,
    .built_in {
      color: #0086b3;
    }
    .variable {
      color: #333;
    }
    .title {
      color: #795da3;
    }
  }
  // coffescript
  &.coffeescript .code {
    .title {
      color: #795da3;
    }
    .literal,
    .built_in,
    .number {
      color: #0086b3;
    }
    .reserved,
    .attribute {
      color: #1d3e81;
    }
    .subst,
    .regexp,
    .attribute {
      color: #df5000;
    }
  }
  // C/C++
  &.cpp .code,
  &.c .code {
    .preprocessor {
      color: #df5000;
    }
    .meta-keyword {
      color: #a71d5d;
    }
    .title {
      color: #795da3;
    }
    .number,
    .built_in {
      color: #0086b3;
    }
  }
  // C#
  &.cs .code {
    .preprocessor,
    .preprocessor .keyword {
      color: #333;
    }
    .title {
      color: #795da3;
    }
    .number,
    .built_in {
      color: #0086b3;
    }
    .xmlDocTag,
    .doctag {
      color: #63a35c;
    }
  }
  // CSS
  &.css .code {
    .at_rule,
    .important,
    .meta {
      color: #a71d5d;
    }
    .attribute,
    .hexcolor,
    .number,
    .function {
      color: #0086b3;
    }
    .attr_selector,
    .value {
      color: #333;
    }
    .id,
    .class,
    .pseudo,
    .selector-pseudo {
      color: #795da3;
    }
    .tag,
    .selector-tag {
      color: #63a35c;
    }
  }
  // Diff
  &.diff .code {
    .chunk,
    .meta {
      color: #795da3;
      font-weight: bold;
    }
    .addition {
      color: #55a532;
      background-color: #eaffea;
    }
    .deletion {
      color: #bd2c00;
      background-color: #ffecec;
    }
  }
  // HTTP
  &.http .code {
    .attribute,
    .attr {
      color: #183691;
    }
    .literal {
      color: #0086b3;
    }
    .request {
      color: #a71d5d;
    }
  }
  // INI
  &.ini .code {
    .title,
    .section {
      color: #795da3;
    }
    .setting,
    .attr {
      color: #a71d5d;
    }
    .value,
    .keyword {
      color: #333;
    }
  }
  // JAVA
  &.java .code {
    .title {
      color: #795da3;
    }
    .javadoc {
      color: #969896;
    }
    .meta,
    .annotation,
    .javadoctag {
      color: #a71d5d;
    }
    .number {
      color: #0086b3;
    }
    .params {
      color: #1d3e81;
    }
  }
  // JavaScript
  &.js .code {
    .built_in,
    .title {
      color: #795da3;
    }
    .javadoc {
      color: #969896;
    }
    .tag,
    .javadoctag {
      color: #a71d5d;
    }
    .tag .title {
      color: #333;
    }
    .regexp {
      color: #df5000;
    }
    .literal,
    .number {
      color: #0086b3;
    }
  }
  // JSON
  &.json .code {
    .attribute {
      color: #183691;
    }
    .number,
    .literal {
      color: #0086b3;
    }
  }
  // Makefile
  &.mak .code {
    .constant {
      color: #333;
    }
    .title {
      color: #795da3;
    }
    .keyword,
    .meta-keyword {
      color: #0086b3;
    }
  }
  // Markdown
  &.md .code {
    .value,
    .link_label,
    .strong,
    .emphasis,
    .blockquote,
    .quote,
    .section {
      color: #183691;
    }
    .link_reference,
    .symbol,
    .code {
      color: #0086b3;
    }
    .link_url,
    .link {
      text-decoration: underline;
    }
  }
  // Nginx
  &.nginx .code {
    .title,
    .attribute {
      color: #a71d5d;
    }
    .built_in,
    .literal {
      color: #0086b3;
    }
    .regexp {
      color: #183691;
    }
    .variable {
      color: #333;
    }
  }
  // Objective-C
  &.objectivec .code {
    .preprocessor,
    .meta {
      color: #a71d5d;

      .title {
        color: #df5000;
      }
    }
    .meta-string {
      color: #183691;
    }
    .title {
      color: #795da3;
    }
    .literal,
    .number,
    .built_in {
      color: #0086b3;
    }
  }
  // Perl
  &.perl .code {
    .sub {
      color: #795da3;
    }
    .title {
      color: #795da3;
    }
    .regexp {
      color: #df5000;
    }
  }
  // PHP
  &.php .code {
    .phpdoc,
    .doctag {
      color: #a71d5d;
    }
    .regexp {
      color: #df5000;
    }
    .literal,
    .number {
      color: #0086b3;
    }
    .title {
      color: #795da3;
    }
  }
  // Python
  &.python .code {
    .decorator,
    .title,
    .meta {
      color: #795da3;
    }
    .number {
      color: #0086b3;
    }
  }
  // Ruby
  &.ruby .code {
    .parent,
    .title {
      color: #795da3;
    }
    .prompt,
    .constant,
    .number,
    .subst .keyword,
    .symbol {
      color: #0086b3;
    }
  }
  // SQL
  &.sql {
    .built_in {
      color: #a71d5d;
    }
    .number {
      color: #0086b3;
    }
  }
  // XML, HTML
  &.xml {
    .tag {
      color: #333;
    }
    .value {
      color: #183691;
    }
    .attribute,
    .attr {
      color: #795da3;
    }
    .title,
    .name {
      color: #63a35c;
    }
  }
  // Puppet
  &.puppet {
    .title {
      color: #795da3;
    }
    .function {
      color: #0086b3;
    }
    .name {
      color: #a71d5d;
    }
    .attr {
      color: #0086b3;
    }
  }
  // LESS
  &.less {
    .tag,
    .at_rule {
      color: #a71d5d;
    }
    .number,
    .hexcolor,
    .function,
    .attribute {
      color: #0086b3;
    }
    .built_in {
      color: #df5000;
    }
    .id,
    .pseudo,
    .class,
    .selector-id,
    .selector-class,
    .selector-tag {
      color: #795da3;
    }
  }
  // SCSS
  &.scss {
    .tag,
    .at_rule,
    .important {
      color: #a71d5d;
    }
    .number,
    .hexcolor,
    .function,
    .attribute {
      color: #0086b3;
    }
    .variable {
      color: #333;
    }
    .built_in {
      color: #df5000;
    }
    .id,
    .pseudo,
    .class,
    .preprocessor,
    .selector-class,
    .selector-id {
      color: #795da3;
    }
    .tag,
    .selector-tag {
      color: #63a35c;
    }
  }
  // Stylus
  &.stylus {
    .at_rule {
      color: #a71d5d;
    }
    .tag,
    .selector-tag {
      color: #63a35c;
    }
    .number,
    .hexcolor,
    .attribute,
    .params {
      color: #0086b3;
    }
    .class,
    .id,
    .pseudo,
    .title,
    .selector-id,
    .selector-pseudo,
    .selector-class {
      color: #795da3;
    }
  }
  // Go
  &.go {
    .typename {
      color: #a71d5d;
    }
    .built_in,
    .constant {
      color: #0086b3;
    }
  }
  // Swift
  &.swift {
    .preprocessor {
      color: #a71d5d;
    }
    .title {
      color: #795da3;
    }
    .built_in,
    .number,
    .type {
      color: #0086b3;
    }
  }
  // YAML
  &.yml {
    .line,
    .attr {
      color: #63a35c;
    }
    .line,
    .string,
    .type,
    .literal,
    .meta {
      color: #183691;
    }
    .number {
      color: #0086b3;
    }
  }
}

/* post navigator*/
.post-nav {
  overflow: hidden;
  margin: 15px 0 20px;
  padding: 10px;
  border-top: 1px solid #eee;
  a {
    position: relative;
    line-height: 25px;
    font-size: 15px;
    color: #555;
    width: 45%;

    &.pre:before,
    &.next:after {
      font-family: 'FontAwesome';
      position: absolute;
      width: 10px;
      top: 0;
    }
    &.pre {
      float: left;
      &:before {
        content: '\f0d9';
        left: -10px;
      }
    }
    &.next {
      float: right;
      text-align: right;
      &:after {
        content: '\f0da';
        right: -10px;
      }
    }
    &:hover {
      color: #222;
    }
  }
}

/* toc*/

#toc {
  position: fixed;
  top: 0;
  right: 0;
  background: #222;
  z-index: 1;
  line-height: 1em;
  border: 1px solid #bbb;
  padding: 0.7em;
  overflow: auto;
  height: 100%;
  display: none;

  & ul,
  & ol {
    list-style-type: none;
  }

  .toc-title {
    font-size: 1rem;
    color: #87daff;
    margin: 0 0.45em;
    min-width: 200px;
  }

  .toc {
    padding: 0;
    margin: 0.5em;
    line-height: 1.8em;
  }
  .toc-child {
    margin-left: 1em;
    padding-left: 0;
  }
  .toc-link {
    color: #ccc;
  }
  .toc-link:hover {
    text-decoration: underline;
    font-weight: bold;
  }
}

.toc-icon {
  z-index: 2;
  position: fixed;
  top: 12px;
  right: 20px;
  cursor: pointer;
}
.highlight {
  color: #87daff;
}

/* table*/
table {
  margin: auto auto 15px;
  width: 100%;
  background: transparent;
  border-collapse: collapse;
  border-spacing: 0;
  text-align: left;
  th {
    font-weight: bold;
    padding: 5px 10px;
    border-bottom: 2px solid #909ba2;
  }
  td {
    padding: 5px 10px;
  }
  tr {
    &:nth-child(2n) {
      background: #f7f8f8;
    }
  }
}

/* article-share*/
.article-share-link {
  cursor: pointer;
  float: right;
  margin-left: 20px;
  &:before {
    font-family: 'FontAwesome';
    content: '\f064';
    padding-right: 6px;
  }
}

.article-share-box {
  position: absolute;
  display: none;
  background: #fff;
  box-shadow: 1px 2px 10px rgba(0, 0, 0, 0.2);
  border-radius: 3px;
  margin-left: -145px;
  overflow: hidden;
  z-index: 1;
  &.on {
    display: block;
  }
}

.article-share-input {
  width: 100%;
  background: none;
  box-sizing: border-box;
  padding: 0 15px;
  color: #555;
  outline: none;
  border: none;
  border-bottom: 1px solid #ddd;
  border-radius: 3px 3px 0 0;
  height: 36px;
  line-height: 36px;
}

.article-share-links {
  clear: both;
  background: #eee;
  & > a {
    width: 50px;
    height: 36px;
    display: block;
    float: left;
    position: relative;
    color: #999;
    text-shadow: 0 1px #fff;
    &:before {
      font-size: 20px;
      font-family: 'FontAwesome';
      width: 20px;
      height: 20px;
      position: absolute;
      top: 50%;
      left: 50%;
      margin-top: -10px;
      margin-left: -10px;
      text-align: center;
    }
    &:hover {
      color: #fff;
    }
  }
}

.article-share-twitter {
  &:before {
    content: '\f099';
  }
  &:hover {
    background: #00aced;
  }
}

.article-share-facebook {
  &:before {
    content: '\f09a';
  }
  &:hover {
    background: #3b5998;
  }
}

.article-share-weibo {
  &:before {
    content: '\f18a';
  }
  &:hover {
    background: #d44137;
  }
}

.article-share-qrcode {
  &:before {
    content: '\f029';
  }
  &:hover,
  &:active {
    background: #38ad5a;
    & ~ .qrcode {
      display: block;
      text-align: center;
    }
  }
}

.qrcode {
  display: none;
}

/* search result*/
ul.search-result-list {
  padding-left: 10px;
}
a.search-result-title {
  font-weight: bold;
  font-size: 15px;
  color: #555;
}
p.search-result {
  color: #444;
  text-align: justify;
}
em.search-keyword {
  font-weight: bold;
  font-style: normal;
  color: #01579f;
}

/* Disqus Button */
.disqus_click_btn {
  line-height: 30px;
  margin: 0;
  min-width: 50px;
  padding: 0 14px;
  display: inline-block;
  font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  overflow: hidden;
  will-change: box-shadow;
  transition: box-shadow 0.2s cubic-bezier(0.4, 0, 1, 1),
    background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  outline: 0;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  vertical-align: middle;
  border: 0;
  background: rgba(158, 158, 158, 0.2);
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2),
    0 1px 5px 0 rgba(0, 0, 0, 0.12);
  color: #fff;
  background-color: #999999;
  text-shadow: 0;
}
